package com.itcm.skymail.product.feign;

import com.itcm.common.to.SkuReductionTo;
import com.itcm.common.to.SpuBoundTo;
import com.itcm.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 描述:
 *
 * @outhor cm_fighting
 * @create 2020-09-27 3:32 下午
 */
@FeignClient("skymail-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);


    @PostMapping("/coupon/skufullreduction/saveInfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}